package com.ayou.eggguard.farm.service;

import com.ayou.common.utils.PageBean;
import com.ayou.eggguard.farm.pojo.Blight;

import java.util.List;

public interface BlightService {
    PageBean<Blight> getBlights(Integer pageNum, Integer pageSize, String blightName);

    void add(Blight blight);

    void update(Blight blight);

    void delete(Integer id);

    List<String> getBlightName();
}
